{yun:}include file="$wapstyle/member/cheader.htm"{/yun}
<div class="main_member_cot_box">
    <ul class="yun_m_tit_four">
        <li>
            <a href="index.php?c=fav_subject">收藏的课程</a>
        </li>
        <li>
            <a href="index.php?c=baoming_subject">报名的课程</a>
        </li>
        <li>
            <a href="index.php?c=atn_teacher">关注的讲师</a>
        </li>
        <li class="yun_m_tit_cur">
            <a href="index.php?c=subject_zixun">留言</a>
        </li>
    </ul>

    <div class="wap_member_post_list">
        {yun:}foreach item=v from=$rows{/yun} 
        <div class="com_member_hr">
            <div class="com_member_hr_name">
                <a href="{yun:}url m=wap c=train a=subshow id=$v.sid{/yun}" class="wap_member_com_name  com_member_hr_cblue">{yun:}$v.name{/yun}</a>
            </div>
            <div class="user_member_box">

                <div class="com_member_hr_p1"><span class="member_c9">培训课程：</span>{yun:}$v.subname{/yun}</div>
                <div class="com_member_hr_p1"><span class="member_c9">联系电话：</span>{yun:}$v.phone{/yun}</div>
                <div class="com_member_hr_p1"><span class="member_c9">留言内容：</span>{yun:}$v.content{/yun}</div>
                <div class="com_member_hr_p1"><span class="member_c9">咨询时间：</span>{yun:}$v.ctime|date_format:"%Y-%m-%d %H:%M:%S"{/yun}</div>
                
                {yun:}if $v.reply{/yun}
                <div class="com_member_hr_p1">
                	<span class="member_c9">回复内容：</span>
                	<span style="color:#29BF1E">{yun:}$v.reply{/yun}</span>
                </div>
                <div class="com_member_hr_p1"><span class="member_c9">回复时间：</span>{yun:}$v.reply_time|date_format:"%Y-%m-%d %H:%M:%S"{/yun}</div>
                {yun:}/if{/yun}
                {yun:}if $v.status==1{/yun}
                	<div class="com_member_hr_p1">
                		<span class="member_c9">状&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;态：
                			<font color="red">未回复</font>
                		</span>
                	</div>
                {yun:}else{/yun}
                	<div class="com_member_hr_p1">
                		<span class="member_c9">状&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;态：<font color="red">已回复</font></span>
                	</div>
                {yun:}/if{/yun}
            </div>
            <div class="com_member_hr_cz">
				<a href="javascript:void(0)" onclick="layer_del('确定要删除？','index.php?c=subject_zixundel&id={yun:}$v.id{/yun}')" class="yun_member_hr_bth">删除留言</a> 
			</div>
        </div>
        

        {yun:}foreachelse{/yun}
        <div class="wap_member_no">暂无机构咨询留言
            <div>
                <a class="wap_member_no_submit" href="{yun:}url m=wap c=train a=agency{/yun}">去搜索我感兴趣的培训机构</a>
            </div>
        </div>
        {yun:}/foreach{/yun}
    </div>

    <div class="pages"> {yun:}$pagenav{/yun}</div>
</div>
</div>
{yun:}include file="$wapstyle/footer.htm"{/yun}